FrameLib  0.7
DSP processing with frames of arbitrary timing and length
FrameLib_LocalAllocator Class Reference

#include <FrameLib_Memory.h>

Classes

class  Storage
 

Public Member Functions

 FrameLib_LocalAllocator (FrameLib_GlobalAllocator *allocator)
 
 ~FrameLib_LocalAllocator ()
 
void * alloc (size_t size)
 
void dealloc (void *ptr)
 
void clear ()
 
StorageregisterStorage (const char *name)
 
void releaseStorage (const char *name)
 

Static Public Member Functions

static size_t getAlignment ()
 
static size_t alignSize (size_t x)
 

Constructor & Destructor Documentation

◆ FrameLib_LocalAllocator()

FrameLib_LocalAllocator::FrameLib_LocalAllocator ( FrameLib_GlobalAllocator allocator)

◆ ~FrameLib_LocalAllocator()

FrameLib_LocalAllocator::~FrameLib_LocalAllocator ( )

Member Function Documentation

◆ alignSize()

static size_t FrameLib_LocalAllocator::alignSize ( size_t  x)
inlinestatic

◆ alloc()

void * FrameLib_LocalAllocator::alloc ( size_t  size)

◆ clear()

void FrameLib_LocalAllocator::clear ( )

◆ dealloc()

void FrameLib_LocalAllocator::dealloc ( void *  ptr)

◆ getAlignment()

static size_t FrameLib_LocalAllocator::getAlignment ( )
inlinestatic

◆ registerStorage()

FrameLib_LocalAllocator::Storage * FrameLib_LocalAllocator::registerStorage ( const char *  name)

◆ releaseStorage()

void FrameLib_LocalAllocator::releaseStorage ( const char *  name)

The documentation for this class was generated from the following files: